﻿namespace Hidistro.UI.SaleSystem.CodeBehind
{
    using Hidistro.Entities.Commodities;
    using Hidistro.Membership.Context;
    using Hidistro.SaleSystem.Catalog;
    using Hidistro.SaleSystem.Comments;
    using Hidistro.UI.Common.Controls;
    using Hidistro.UI.SaleSystem.Tags;
    using System;
    using System.Collections.Generic;
    using System.Web.UI.WebControls;

    public class Juseshangcheng : HtmlTemplatedWebControl
    {
        protected YB_Juseshangcheng_Category PList;
        protected override void AttachChildControls()
        {
            this.PList = (YB_Juseshangcheng_Category)this.FindControl("list");
            this.PList.DataSource = CategoryBrowser.GetMaxMainCategories(0x3e8);
            this.PList.DataBind();
        }

        protected override void OnInit(EventArgs e)
        {
            if (this.SkinName == null)
            {
                this.SkinName = "/juseshangcheng/Skin-Juseshangcheng.html";
            }
            base.OnInit(e);
        }
        private void LoadPageSearch()
        {
                MetaTags.AddMetaKeywords("成人用品", HiContext.Current.Context);


                MetaTags.AddMetaDescription("成人用品", HiContext.Current.Context);


                PageTitle.AddSiteNameTitle("成人用品");

        }
    }
}

